package com.pet.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pet.system.SysRole;
import com.pet.vo.AssginRoleVo;
import com.pet.vo.SysRoleQueryVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 角色 服务类
 * </p>
 *
 * @author whd
 * @since 2023-07-29
 */
public interface SysRoleService extends IService<SysRole> {
    IPage<SysRole> selectpage(IPage<SysRole> page1, SysRoleQueryVo roleQueryVo);

    void doAssign(AssginRoleVo assignRolevo);


    boolean removeBatchByIds(List<Long> ids);

    Map<String, Object> getRolesByUserId(Long userId);


}
